//
//  AppDelegate.m
//  CreditManger
//
//  Created by sky on 15/10/13.
//  Copyright © 2015年 jinxin. All rights reserved.
//

#import "AppDelegate.h"
#import "CMLoginCtrl.h"
#import "CMNavigationController.h"
#import "AppDelegate+NotificationCenter.h"
#import "UIWindow+Extension.h"

@interface AppDelegate ()

@end

@implementation AppDelegate


- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
    
    [application setStatusBarStyle:UIStatusBarStyleLightContent];
    
    self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
    [self.window switchRootViewController];
    [self.window makeKeyAndVisible];
    
    [self notifyApplication:application didFinishLaunchingWithOptions:launchOptions];
    
    return YES;
}

- (void)applicationWillResignActive:(UIApplication *)application
{
    
}

- (void)applicationDidEnterBackground:(UIApplication *)application
{
    
}

- (void)applicationWillEnterForeground:(UIApplication *)application
{
    
}

- (void)applicationDidBecomeActive:(UIApplication *)application
{
    
}

- (void)applicationWillTerminate:(UIApplication *)application
{
    
}

@end
